import 'package:flutter/cupertino.dart';
import 'package:vc_package/widget/vc_widget.dart';

import '../../utils/base_color_utils.dart';

class TitleText extends TextView {
  TitleText(super.text, { this.m, this.c, this.a});

  final EdgeInsets? m;
  final Color? c;
  final Alignment? a;

  @override
  // TODO: implement fontWeight
  FontWeight? get fontWeight => FontWeight.w600;

  @override
  // TODO: implement color
  Color get color => c ?? ColorUtils.black;

  @override
  // TODO: implement size
  double get size => 16.fit;

  @override
  // TODO: implement margin
  EdgeInsets? get margin => m ?? super.margin;

  @override
  // TODO: implement alignment
  Alignment? get alignment => a ?? super.alignment;
}